package jwr.basic;

import java.io.IOException;

public class P111_ex01 {
	public static void main(String[] args) throws IOException {
		char input;
		
		System.out.print("알파뱃을 입력해주세요");
		input = (char) System.in.read(); 
		if(input>='a' && input<='z'){
			System.out.println((char)(input-32));
		}else if(input>='A' && input<='Z'){
			System.out.println((char)(input+32));
		}else{
			System.out.println("영문자가 아닙니다.");
		}
	}
}

